package com.petdog.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("behavior_guide")
public class BehaviorGuide {
    @TableId(value = "guide_id", type = IdType.AUTO)
    private Long guideId;
    
    private String title;
    private String description;
    private String contentType;
    private String coverImageUrl;
    private String videoUrl;
    private String articleContent;
    private String difficultyLevel;
    private String petType;
    private Integer status;
    private Integer viewCount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 非数据库字段，用于存储关联的标签
    @TableField(exist = false)
    private List<String> tags;
}